import Vue from 'vue'
import App from './App'
import router from './router'
import moment from 'moment'
import VueScroller from 'vue-scroller'
import './mock/mockServer'
import './common/stylus/fonts.styl'
Vue.config.productionTip = false
Vue.use(VueScroller)
Vue.filter('date-string', function (time) {
  return moment(time).format('YYYY-MM-DD HH:mm:ss')
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
